Arch-specific per-vcpu info should be initialised to zero
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 14 Jan 2006 20:26:40 +0000 (21:26 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 14 Jan 2006 20:26:40 +0000 (21:26 +0100)
commit6294397fbafa4fefe6e0671afe62d3f35e9e7b12
tree40d02c0e432109df5e2fb686b5026e42d3a83007
parent7770ed988a5edf4276d092045df109391d37904b
Arch-specific per-vcpu info should be initialised to zero
when allocating a new vcpu structure, not copied from
CPU0's idle VCPU. Especially now that the idle VCPU itself
is dynamically allocated.

This should fix assertions people have been seeing in
getdomain_info_ctxt() relation to IOPL in eflags.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/domain.c